package com.jt.www.model.param;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @描述: 用户数据查询入参
 * @author: yuwf
 * @Date: 2019/2/27 14:00
 * @ModifiedDate：
 * @Copyright:江泰保险股份有限公司
 */

public class UserQueryParam {

    @ApiModelProperty("用户类型（01-企业用户,02-个人用户,后续编码根据实际业务场景再定）")
    private String userType;

    @ApiModelProperty("账号状态")
    private String status;


    @ApiModelProperty("用户名称")
    private String name;


    @ApiModelProperty("省市县")
    private String provinceCode;


    @ApiModelProperty("渠道编码（tour-旅游，safety-安责，med-卫生，edu-教保，pvt-私保）")
    @NotBlank(message = "渠道编码入参不能为空")
    private String channelNo;


    @ApiModelProperty("开始注册时间")
    private String beginRegisterDate;


    @ApiModelProperty("结束注册时间")
    private String endRegisterDate;

    @ApiModelProperty("用户编码")
    private String userCode;

    @ApiModelProperty("当前查询的第几页")
    @NotNull(message = "当前页码入参不能为空")
    private Integer pageNum;

    @ApiModelProperty("每页条数")
    @NotNull(message = "页面显示条数入参不能为空")
    private Integer pageSize;

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getChannelNo() {
        return channelNo;
    }

    public void setChannelNo(String channelNo) {
        this.channelNo = channelNo;
    }

    public String getBeginRegisterDate() {
        return beginRegisterDate;
    }

    public void setBeginRegisterDate(String beginRegisterDate) {
        this.beginRegisterDate = beginRegisterDate;
    }

    public String getEndRegisterDate() {
        return endRegisterDate;
    }

    public void setEndRegisterDate(String endRegisterDate) {
        this.endRegisterDate = endRegisterDate;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
